﻿<%@ Page Language="C#" Theme="skin_control" AutoEventWireup="true" CodeFile="QuarterPlanDetail.aspx.cs"
    Inherits="TotalPlan_QuarterPlanDetail" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>年计划详细</title>
    <link href="../App_Themes/css/main_css.css" rel="stylesheet" type="text/css" />
    <script src="../Js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <link href="../App_Themes/css/display.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
     
        /*标黑投影显示的表格线*/
        td
        {
	        border-width:1px;
	        border-color:Black;
        }
        th
        {
            border-width:1px;
	        border-color:Black;
        }
        table
        {
            border-color:Black;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <table cellpadding="0" cellspacing="0" border="0">
            <tr>
                <td class="firstbjcolor" colspan="8">
                    <span class="currentHere">当前位置:总表计划管理-&gt;查看年计划</span></td>
            </tr>
            <tr>
                <td style="height: 1px; width:100%;">
                    <asp:Button ID="btnDel" runat="server" OnClick="btnDel_Click" Text="删除" /></td>
            </tr>
            <tr>
                <td>
                    <asp:GridView ID="gvlist" runat="server" AutoGenerateColumns="False" DataKeyNames="QuarterPlanId,WorkItem,CompleteTime"
                        Width="100%">
                        <Columns>
                            <asp:TemplateField HeaderText="选择">
                                <ItemTemplate>
                                    <asp:CheckBox ID="ckbSelect" runat="server" />
                                </ItemTemplate>
                                <HeaderStyle Width="4%" />
                                <ItemStyle Width="4%" />
                            </asp:TemplateField>
                            <asp:BoundField DataField="QuarterPlanSortId" HeaderText="计划编号">
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="4%" />
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="4%" />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="完成时间">
                                <ItemTemplate>
                                    
                                    <asp:TextBox ID="txtCompleteTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"></asp:TextBox>
                                </ItemTemplate>
                                <HeaderStyle Width="8%" Wrap="True" />
                                <ItemStyle Width="8%" />
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="计划名称">
                                <ItemTemplate>
                                    <asp:TextBox ID="txtWorkItem" runat="server" TextMode="MultiLine"></asp:TextBox>
                                </ItemTemplate>
                                <HeaderStyle Width="10%" />
                                <ItemStyle Width="10%" />
                            </asp:TemplateField>
                            <asp:BoundField DataField="MasterDepartment" HeaderText="责任部门">
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="6%" />
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="6%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="MasterPeople" HeaderText="责任人">
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="6%" />
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="6%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="SlaveDepartment" HeaderText="关联/配合部门">
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" />
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="SlaveDepartmentDuty" HeaderText="配合部门责任">
                                <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="8%" />
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="EvaluatePeople" HeaderText="评估人">
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="10%" />
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="10%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="VerifyPeopleOpinion" HeaderText="审核意见">
                                <HeaderStyle Width="8%" />
                                <ItemStyle Width="8%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="CheckNote" HeaderText="评估意见">
                                <HeaderStyle Width="8%" />
                                <ItemStyle Width="8%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Remart" HeaderText="备注" Visible="False">
                                <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="0%" />
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="0%" />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="查看">
                                <ItemTemplate>
                                    <asp:Button ID="btnQuarterPlanResolve" runat="server" OnClick="btnQuarterPlanResolve_Click"
                                        Text="查看分解" SkinID="buttonSkin" /><asp:Label ID="lblTopic" runat="server" Text="无年分解计划"
                                            Visible="False" SkinID="labelSkin"></asp:Label>
                                </ItemTemplate>
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" />
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" />
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="处理">
                                <ItemTemplate>
                                    <asp:Button ID="btnModify" runat="server" Width="85%" OnClick="btnModify_Click" Text="修改" />
                                </ItemTemplate>
                                <HeaderStyle Width="8%" />
                                <ItemStyle Width="8%" />
                            </asp:TemplateField>
                            <asp:BoundField DataField="QuarterPlanId" HeaderText="id" Visible="False">
                                <ItemStyle Width="0px" />
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="0px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="CompleteTime" HeaderText="完成时间" DataFormatString="{0:yyyy-MM-dd}"
                                HtmlEncode="False" Visible="False">
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="65px" />
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="65px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="WorkItem" HeaderText="计划名称" Visible="False">
                                <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="180px" />
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="180px" />
                            </asp:BoundField>
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
            <tr>
            </tr>
            <td>
            </td>
            <tr>
                <td>
                    <asp:GridView ID="gdvQuarterResolve" runat="server" AutoGenerateColumns="False" SkinID="gridviewSkin"
                        Width="884px">
                        <Columns>
                            <asp:BoundField DataField="Id" HeaderText="编号" />
                            <asp:BoundField DataField="QuarterPlanId" HeaderText="年计划编号" />
                            <asp:BoundField DataField="QuarterDetailPlanId" HeaderText="年分解计划编号" />
                            <asp:BoundField DataField="StartTime" HeaderText="起始时间" />
                            <asp:BoundField DataField="CompleteTime" HeaderText="完成时间" />
                            <asp:BoundField DataField="WorkItem" HeaderText="计划名称" />
                            <asp:BoundField DataField="MasterDepartment" HeaderText="责任部门" />
                            <asp:BoundField DataField="MasterPeople" HeaderText="责任人" />
                            <asp:BoundField DataField="SlaveDepartment" HeaderText="关联/配合部门" />
                            <asp:BoundField DataField="SlaveDepartmentDuty" HeaderText="配合部门责任" />
                            <asp:BoundField DataField="EvaluatePeople" HeaderText="评估人" />
                            <asp:BoundField DataField="Remart" HeaderText="备注" Visible="False" />
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
